export const table1Columns = [
    {
        title: '序号',
        type: 'index',
        width: 80,
        align: 'center'
    },
    {
        title: '肥料分类',
        type: 'type',
        align: 'center',
        editable: true
    },
    {
        title: '肥料名称',
        align: 'center',
        key: 'name',
        editable: true
    },
    {
        title: 'N 含量（%）',
        align: 'center',
        key: 'n',
        editable: true
    },
    {
        title: 'P 含量（%）',
        align: 'center',
        key: 'p',
        editable: true
    },
    {
        title: 'K 含量（%）',
        align: 'center',
        key: 'k',
        editable: true
    },
    {
        title: '操作',
        align: 'center',
        width: 200,
        key: 'handle',
        handle: ['edit', 'delete']
    }
];

export const table1Data = [
    {
        name: '尿素',
        type: '有机肥',
        n: 46,
        p: 0,
        k: 0
    }
];

const tableData = {
    table1Columns: table1Columns,
    table1Data: table1Data
};

export default tableData;
